<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<style type="text/css">
body,table{ 
font-size:16px; 
} 
table{ 
table-layout:fixed; 
empty-cells:show; 
border-collapse: collapse; 
margin:0 auto; 
} 
td{ 
height:30px; 
} 
h1,h2,h3{ 
font-size:12px; 
margin:0; 
padding:0; 
} 
.table{ 
border:1px solid #cad9ea; 
color:#666; 
} 
.table th { 
background-repeat:repeat-x; 
height:30px; 
} 
.table td,.table th{ 
border:1px solid #cad9ea; 
padding:0 1em 0; 
} 
.table tr.alter{ 
background-color:#f5fafe; 
} 

</style> 
<body>
<center><h2>当日迟到详情-${stu_name }</h2></center>
<hr>
<table>
<tr>
<th>序号</th>
<th>班级</th>
<th>学号</th>
<th>迟到课程</th>
<th>教师</th>
<th>时间</th>
<th>节次</th>
</tr>
<c:forEach var="wr" items="${wrs }" varStatus="status">
<tr>
<td>${status.count }</td>
<td>${wr.banji }</td>
<td>${wr.code }</td>
<td>${wr.clazzName }</td>
<td>${wr.teacher }</td>
<td>${wr.date }</td>
<td>${wr.jieci }</td>
</tr>
</c:forEach>
</table>
</body>
</html>